//
//  SYRequestAPI+Teach.h
//  SanYiTeaching
//
//  Created by 李文强 on 2019/5/8.
//  Copyright © 2019 SanYi. All rights reserved.
//

#import "SYRequestAPI.h"

NS_ASSUME_NONNULL_BEGIN

@interface SYRequestAPI (Teach)
//教学

/**
 未上课时

 @param parama 参数
 @param success 成功
 @param fail 失败
 */
+ (void)sy_getUnAttend:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;
/**
 已上课时
 
 @param parama 参数
 @param success 成功
 @param fail 失败
 */
+ (void)sy_getAttend:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;


/// 申请资源
/// @param gorupid 集团id
/// @param campusId 分校id
/// @param attendProgressId 上课进度id
/// @param lessonId 课时id
/// @param applyReason 申请原因
/// @param success 1
/// @param fail 0
+ (void)sy_postResourceApplyGroupId:(NSString *)gorupid
                           campusId:(NSString *)campusId
                   attendProgressId:(NSString *)attendProgressId
                           lessonId:(NSString *)lessonId
                        applyReason:(NSString *)applyReason
                            success:(void(^)(BOOL isSuccess))success
                               fail:(FailBlock)fail;


/**
 教学-课程-课程详情
 
 @param parama 参数
 @param success 成功
 @param fail 失败
 */
+ (void)sy_getLessonDetail:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;

/**
 教学-课程-未上课时-课程学生
 
 @param parama 参数
 @param success 成功
 @param fail 失败
 */
+ (void)sy_getClassStudent:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;
/**
 教学-课程-已上课时-课时学生
 
 @param parama 参数
 @param success 成功
 @param fail 失败
 */
+ (void)sy_getLessonStudent:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;

/**
 教学-课程-作业
 HomeWordService
 @param parama 参数
 @param success 成功
 @param fail 失败
 */
+ (void)sy_getHomeWordServiceHomeWorKList:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;
/**
 教学-课程-作业-上交详情
 HomeWordService
 @param parama 参数
 @param success 成功
 @param fail 失败
 */
+ (void)sy_getHandList:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;
/**
 教学-课程-作业-作业详情
 HomeWorKDetail
 @param parama 参数
 @param success 成功
 @param fail 失败
 */
+ (void)sy_getHomeWordServiceHomeWorKDetail:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;
/**
 教学-课程-作业-按学生统计
 HomeWorKDetail
 @param parama 参数
 @param success 成功
 @param fail 失败
 */
+ (void)sy_getHomeWordServiceCountByStudentList:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;

/**
 教学-课程-作业-按试题统计
 @param parama 参数
 @param success 成功
 @param fail 失败
 */
+ (void)sy_getHomeWordServiceCountByQuestionList:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;
//班级

/**
 教学-课程-班级
 @param parama 参数
 @param success 成功
 @param fail 失败
 */
+ (void)sy_getClassServiceClassList:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;
/**
 教学-课程-班级-未结业-班级详情
 @param parama 参数
 @param success 成功
 @param fail 失败
 */
+ (void)sy_getClassServiceClassDetail:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;
/**
 教学-课程-班级-未结业-班级学生列表
 @param parama 参数
 @param success 成功
 @param fail 失败
 */
+ (void)sy_getClassServiceClassStudentList:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;
/**
 教学-课程-班级-未结业-班级考勤
 @param parama 参数
 @param success 成功
 @param fail 失败
 */
+ (void)sy_getClassServiceClassAttendList:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;
/**
 教学-课程-班级-未结业-班级课时
 @param parama 参数
 @param success 成功
 @param fail 失败
 */
+ (void)sy_getClassServiceClassLessonList:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;

/**
 教学-课程-班级-未结业-班级考勤-考勤详情
 @param parama 参数
 @param success 成功
 @param fail 失败
 */
+ (void)sy_getClassServiceClassAttendDetailList:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;
/**
 教学-课程-已上课时-课程学生-学生详情
 @param parama 参数
 @param success 成功
 @param fail 失败
 
 */
+ (void)sy_getClassServiceClassStudentDetail:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;
/**
 教学-课程-已上课时-课程学生-课程资源
 @param parama 参数
 @param success 成功
 @param fail 失败
 
 */
+ (void)sy_getClassServiceLessonResource:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;

/**
 教学-作业-试卷详情
 @param parama 参数
 @param success 成功
 @param fail 失败
 
 */
+ (void)sy_getClassServiceHomeWorKDetail:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;
/**
 教学-作业-试题详情
 @param parama 参数
 @param success 成功
 @param fail 失败
 
 */
+ (void)sy_getClassServiceCountByQuestionDetail:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;

/**
 教学-作业-按学生统计
 @param parama 参数
 @param success 成功
 @param fail 失败
 
 */
+ (void)sy_getClassServiceStatisticsByStudent:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;
/**
 教学-班级-课时详情-课时考勤详情
 @param parama 参数
 @param success 成功
 @param fail 失败
 
 */
+ (void)sy_getClassServiceClassLessonAttendList:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;
/**
 教学-班级-课时详情-做题详情
 @param parama 参数
 @param success 成功
 @param fail 失败

 */
+ (void)sy_getClassServiceAnsweredQuestionDetail:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;
/**
 教学-班级-课时详情-班级学生z带查询
 @param parama 参数
 @param success 成功
 @param fail 失败
 
 */
+ (void)sy_getClassServiceClassStudent:(NSDictionary *)parama success:(void(^)(id responseObject))success fail:(FailBlock)fail;

+ (void)sy_getorderTopStudentClassId:(NSString *)classId
                          templateId:(NSString *)templateId
                             success:(void(^)(id responseObject))success
                                fail:(FailBlock)fail;



@end

NS_ASSUME_NONNULL_END



















